/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sgsmcan.Dao;

import com.sgsmcan.Entidad.Perfil;
import java.util.List;
import org.hibernate.criterion.DetachedCriteria;

/**
 *
 * @author user
 */
public interface PerfilDao extends DaoGenerico<Perfil>{
    
    public List<Perfil> getRoles();
    
    public DetachedCriteria getRols();
    
    public Perfil getPerfilPorID(Integer id);
    
    public boolean existePerfil(String nombre);
    
}
